package com.netease.ssm.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.netease.ssm.mapper.ContentMapper;
import com.netease.ssm.meta.Content;
@Service
public class ShowService {
	@Autowired
	private ContentMapper contentMapper;
	
	public Content getProductById(Integer id){
		
		return contentMapper.selectByPrimaryKey(id);
		
	}
	
}
